{include file="/public/top" /}



  <div class="left_side">
    <ul class="sidebar_menu">
	{php}foreach($arr as $key=>$val){  {/php}
   			<li class="active" rel="33"><a href="javascript:void(0);"><i class="fa"></i>  {php}echo $key;{/php}</a>
                         	 <ul class="treeview_menu">
							 {php}foreach($val as $keyf=>$valf){ {/php}
                                   <li><i class="fa_dbrt"></i>
								   <a href="{:url($keyf)}" target="main_frm"> {php}echo $valf;{/php}</a>
								   </li>

								   {php}  }  {/php}
                            </ul>
                        </li>
						{php}  }  {/php}
						
     </ul>
  </div>
  
<script type="text/javascript">
$(document).ready(function(){
	$("li[rel='menu_tree']>strong").click(function(){
		//$("li[rel='menu_tree']").not($(this).parent()).removeClass('open').addClass('close').children('ul').hide();
		if($(this).parent().hasClass('open')){
			$(this).parent().removeClass('open').addClass('close').children('ul').hide();
		}else{
			$(this).parent().removeClass('close').addClass('open').children('ul').show();
		}
	});//.last().click();
	$(".menu-item>li a").click(function(){
		$(".menu-item>li").not($(this).parent("li")).removeClass('active');
		$(this).parent("li").addClass("active");
	});
});
</script>

<script type="text/javascript">
<!--头部和左部公共JS-->
$(document).ready(function(){
	$('.right_side').height($(window).height()-60);
	$(".sidebar_menu > li.active a").click(function(){
		var thisli = $(this);
	    if(thisli.parent().find('.treeview_menu').is(':hidden')){
			thisli.parent().addClass('current');
			thisli.parent().find('ul.treeview_menu').slideDown(300);	
			thisli.parent().find("a i.fa").addClass('pull_right');
		}else{
			thisli.parent().removeClass('current');
			thisli.parent().find('ul.treeview_menu').slideUp(100);	
			thisli.parent().find("a i.fa").removeClass('pull_right');
		}
	});
	$('.treeview_menu li').click(function(){
		$('.treeview_menu li').removeClass('on');
		$(this).addClass('on');
	});
	
});

</script>
<div id="_my97DP" style="position: absolute; top: -1970px; left: -1970px;"></div></body></html>